package com.mybatisplus.sunpineshop.works.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mybatisplus.sunpineshop.works.entity.SWorks;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-02-25
 */
@Mapper
public interface SWorksMapper extends BaseMapper<SWorks> {

    public List<Map> findAll(@Param("ew") Wrapper<SWorks> queryWrapper);

    public List<Map> randomSelect();

}
